package com.rocbrid.order.service;

import com.rocbrid.order.bean.Order;
import com.baomidou.mybatisplus.extension.service.IService;

public interface OrderService extends IService<Order> {
    /**
     * 创建订单
     *
     * @param userId        用户id
     * @param commodityCode 商品编码
     * @param count         商品数量
     */
    Order create(String userId, String commodityCode, int count);
}